.class Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$1$1;
.super Ljava/lang/Object;
.source "StationInLineDetailActivity.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$1;->onClick(Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$1;

.field private final synthetic val$lCol:Lcom/teewoo/app/bus/model/collection/LineCollection;


# direct methods
.method constructor <init>(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$1;Lcom/teewoo/app/bus/model/collection/LineCollection;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$1$1;->this$1:Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$1;

    iput-object p2, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$1$1;->val$lCol:Lcom/teewoo/app/bus/model/collection/LineCollection;

    .line 556
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 3
    .parameter "dialog"
    .parameter "which"

    .prologue
    .line 561
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$1$1;->this$1:Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$1;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$1;->access$0(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$1;)Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->access$9(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Lcom/teewoo/app/bus/manager/collection/LineCollectionManager;

    move-result-object v0

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$1$1;->val$lCol:Lcom/teewoo/app/bus/model/collection/LineCollection;

    invoke-virtual {v1}, Lcom/teewoo/app/bus/model/collection/LineCollection;->getId()Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/teewoo/app/bus/manager/collection/LineCollectionManager;->delete(Ljava/lang/Integer;)V

    .line 563
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$1$1;->this$1:Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$1;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$1;->access$0(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$1;)Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->access$6(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f080034

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    .line 565
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$1$1;->this$1:Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$1;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$1;->access$0(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$1;)Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->access$2(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/widget/ImageView;

    move-result-object v0

    const v1, 0x7f020012

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    .line 566
    return-void
.end method
